package pkg;

import javax.ejb.EJB;
import javax.ejb.Stateful;

import jpa.Page;

/**
 * Session Bean implementation class StatefulBean
 */
@Stateful
@EJB(name="StatefulBean", beanInterface=IStatefulBean.class)
public class StatefulBean implements IStatefulBean
{
	Page currentPage;
    /**
     * Default constructor. 
     */
    public StatefulBean() 
    {
    	currentPage = null;
    }

	@Override
	public Page getCurrentPage() {
		return currentPage;
	}

	@Override
	public void setCurrentPage(Page p) {
		currentPage = p;
	}

}
